package com.wind.cloud.zero.config.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2019-09-10 13:27</p>
 * <p>Company: </p>
 * @version 1.0
 * @author: zmr
 */
@RestController
public class TestController
{
    @Value("${config.version}")
    private String version;

    @GetMapping("/test")
    public String test()
    {
        return version;
    }
}
